<h1>Form Validation</h1>
<p>Form Validation Class</p>

<?=form_open()?>
<fieldset>
    <legend>Form 1</legend>
    
    <p><?=validation_errors()?></p>
    
    <p>
        <label>Voornaam</label>
        <input type="text" name="first_name" value="<?=set_value('first_name')?>" />
    </p>
    
    <p>
        <label>Achternaam</label>
        <input type="text" name="last_name" value="<?=set_value('last_name')?>" />
    </p>
    
    <p>
        <label>E-mail</label>
        <input type="text" name="email" value="<?=set_value('email')?>" />
    </p>
    
    <p>
        <label>Wachtwoord</label>
        <input type="password" name="password" value="<?=set_value('password')?>" />
    </p>
    
    <p>
        <label>Wachtwoord herhalen</label>
        <input type="password" name="password_confirm" value="<?=set_value('password_confirm')?>" />
    </p>
    
    <p>
        <input type="submit" name="btn_submit" value="Send" />
    </p>
</fieldset>
<?=form_close()?>